Skip to content

Refactor/deprecated - #206

Merged
cmhulbert merged 4 commits into
developmentfrom
refactor/deprecated
Feb 25, 2026
Merged

Refactor/deprecated#206
cmhulbert merged 4 commits into
developmentfrom
refactor/deprecated

Conversation

@cmhulbert

Copy link
Copy Markdown
Contributor

introduce package-private BufferedKvaLockedChannel. The purpose is to use it in default implementaions for KeyValueAccess to allow implementation of KeyValueAccess to delete their (now deprecated) overrides, and only have to implement createReadData and write. The expectation is that the now deprecated lockForReading/Writing methods should work identical, but we should not aim to make this a guarantee.

remove the lockForReading lockForWriting methods from FileSystemKeyValueAccess

add N5ConcurrentModificationException (currently not used in N5, but we at least want it for google cloud and s3).

refactor Tracking logic in ShardTest to be more reusable.

  • test classes for DelegateKeyValueAccess, TrackingKeyValueAccess and TrackingN5Writer

…re of new default in KeyValueAccess. Move FileLazyRead to FsIoPolicy.

Signed-off-by: Caleb Hulbert <cmhulbert@gmail.com>
…`. Extract and generify TrackingKeyValueAccess to be more reusable

Signed-off-by: Caleb Hulbert <cmhulbert@gmail.com>
@bogovicj

Copy link
Copy Markdown
Contributor

If / when we remove the deprecated lockFor... methods, are you thinking to remove BufferedKvaLockedChannel right?

…for the IoPolicy configuration.

Signed-off-by: Caleb Hulbert <cmhulbert@gmail.com>
@cmhulbert
cmhulbert merged commit 8e99e07 into development Feb 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants